import pygame, sys, Menus, Game,os


def menus(tela):
	menu = Menus.main_menu(tela)
	if menu == 'start':
		gametype = Menus.start_menu(tela)
#		if gametype == 'classic':
#			level = Menus.menu_classic(screen)
#			return (gametype,level)
#		elif gametype == 'reverse':
#			rival = Menus.menu_reverse(screen)
#			return (gametype,rival)
#		elif gametype == 'wanderer':
#			return ('wanderer','123')
			
pygame.init()
tela = pygame.display.set_mode((640,440))
icone = pygame.image.load('imagens' + os.sep +'minedtrack.jpg').convert_alpha()
pygame.display.set_icon(icone)
pygame.display.set_caption('Minedtrack')

play = 'inicio'
while True:
	if play == 'inicio':
		pygame.mixer.stop()
		game = menus(tela)
		pygame.mixer.stop()

				
				
